import java.util.Scanner;

public class a006_一元二次方程式 {

	public static void main(String[] args) {
		Scanner input = new Scanner(System.in);
		
		String str1;
		String[] sp;
		
		int a, b, c;

		int x1, x2;
		int roots;		
		
		while(input.hasNext()) {
			str1 = input.nextLine();
			sp = str1.split(" ");
			
			 a = Integer.parseInt(sp[0]);
			 b = Integer.parseInt(sp[1]);
			 c = Integer.parseInt(sp[2]);
			 
			 x1 = x2 =0;
			 roots = 0;
			 
			 for(int i = 100; i >= -100; i--) {
				 if(a * Math.pow(i, 2) + b * i + c == 0) {
					 x1 = i;
					 roots ++;
					 break;
				 }
			 }
			 
			 for(int i = -100; i <= 100; i++) {
				 if(a * Math.pow(i, 2) + b * i + c == 0) {
					 x2 = i;
					 if(x2 != x1)
						 roots ++;
					 break;
				 }
			 }
			 
			 if(roots == 2)
				 System.out.println("Two different roots x1=" + Integer.toString(x1) + " , x2=" + Integer.toString(x2));
			 else if(roots == 1)
				 System.out.println("Two same roots x=" + Integer.toString(x1));
			 else {
				 System.out.println("No real root");
			 }
		}
	}
	
}